package grimbo.goodwinfooty;

import java.io.File;
import java.util.Enumeration;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

public class CSVContentsTestSuite extends TestCase {
    public static Test suite() {
        String[] filenames = { "C:\\Java\\workspaces\\appengine\\goodwin-footy-processing\\files\\xls\\footy-21082009.xls" };

        TestSuite suite = new TestSuite("");
        for (int i = 0; i < filenames.length; i++) {
            TestSuite ts = new TestSuite(CSVContentsTest_.class);
            for (Enumeration e = ts.tests(); e.hasMoreElements();) {
                CSVContentsTest_ test = (CSVContentsTest_) e.nextElement();
                test.setXlsFile(new File(filenames[i]));
                suite.addTest(test);
            }
        }

        return suite;
    }
}
